<template>
  <div id="app">
    <h1>我的购物车</h1>
    
    <div class="container">
      <div class="left">
        <ProductList />
      </div>
      <div class="right">
        <Cart />
      </div>
    </div>
  </div>
</template>

<script>
import ProductList from './components/ProductList.vue'
import Cart from './components/Cart.vue'

export default {
  name: 'App',
  components: {
    ProductList,
    Cart
  }
}
</script>

<style>
.container {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
}
.left {
  flex: 1;
  margin-right: 20px;
}
.right {
  flex: 1;
  margin-left: 20px;
}
</style>